<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <title>Result</title>
    <link rel="stylesheet" th:href="@{/styles.css}" />
</head>

<body>
    <h1>Result</h1>
    <h2>Student information:</h2>
    <h3>Name:</h3>
    <p th:text="${taco.students[0].name}" /></br>
    <h3>College:</h3>
    <p th:text="${taco.students[0].college}" /></br>
    <h3>Grade:</h3>
    <p th:text="${taco.students[0].grade}" /></br>
    <h3>Major:</h3>
    <p th:text="${taco.students[0].major}" /></br>
    <h3>StudentNumber:</h3>
    <p th:text="${taco.students[0].studentNumber}" /></br>

    <h2>Select result:</h2>
    <div th:each="tacos : ${taco}">
        <p th:each="ingredient : ${tacos.ingredients}">
            <span th:text="${ingredient.name}" >\</span>
        </div>
    </div>

</body>
</html>
